/**
 * 
 */
package vn.com.demand.lux.view.contentprovider;

import java.util.List;

import vn.com.demand.lux.model.WarrantyExpenseAccrualBean;

/**
 * @author Huynh Tan Tai <httcntt@yahoo.com>
 *
 */
public class WarrantyExpenseAccrualContentProvider extends BasicContentProvider {
	
	public Object[] getElements(Object inputElement) {
		if (inputElement instanceof List) {
			List<WarrantyExpenseAccrualBean> list = (List<WarrantyExpenseAccrualBean>) inputElement;
			return list.toArray(new WarrantyExpenseAccrualBean[0]);
		}
		return null;
	}
}
